package com.lzw.breezeNovel.model.entity.pojo.video;

import com.lzw.breezeNovel.model.entity.query.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.model.entity.pojo
 * @date 2025/3/23
 * @description 分享实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class VideoShare extends BaseQuery {

    @Schema(description = "主键ID，自增")
    private Integer id;

    @Schema(description = "分享用户的ID，外键关联到用户表")
    private Integer userId;

    @Schema(description = "被分享的短视频的ID，外键关联到短视频表")
    private Integer videoId;

    @Schema(description = "分享的方式，例如微信、微博等")
    private String shareMethod;

    @Schema(description = "分享的时间，默认为当前时间")
    private Date createdTime;

    @Schema(description = "类型，0：短视频，1:电影 2:电视剧 3:动漫")
    private Integer type;
}